package p270jp.pxv.android.legacy.event;

import java.util.ArrayList;
import java.util.List;
import p270jp.pxv.android.legacy.model.PixivTag;
import p270jp.pxv.android.legacy.model.PixivUser;
import p270jp.pxv.android.legacy.model.PixivWork;
import p325m0.MutabilityOwnership;

/* compiled from: ShowMuteSettingEvent.kt */
/* renamed from: jp.pxv.android.legacy.event.ShowMuteSettingEvent */
/* loaded from: classes2.dex */
public final class ShowMuteSettingEvent {
    private List<? extends PixivTag> candidateTag;
    private PixivUser candidateUser;

    public ShowMuteSettingEvent() {
    }

    public final ArrayList<PixivTag> getCandidateTags() {
        ArrayList<PixivTag> arrayList = new ArrayList<>();
        List<? extends PixivTag> list = this.candidateTag;
        if (list != null) {
            arrayList.addAll(list);
        }
        return arrayList;
    }

    public final ArrayList<PixivUser> getCandidateUsers() {
        ArrayList<PixivUser> arrayList = new ArrayList<>();
        PixivUser pixivUser = this.candidateUser;
        if (pixivUser != null) {
            arrayList.add(pixivUser);
        }
        return arrayList;
    }

    public ShowMuteSettingEvent(PixivWork pixivWork) {
        MutabilityOwnership.m3745m(pixivWork, "candidateWork");
        this.candidateUser = pixivWork.user;
        this.candidateTag = pixivWork.tags;
    }

    public ShowMuteSettingEvent(PixivUser pixivUser) {
        this.candidateUser = pixivUser;
    }
}
